package com.ruoyi.wl.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 客户信息管理对象 wl_company
 * 
 * @author zhiminhu
 * @date 2021-06-25
 */
public class WlCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public WlCompany(String status, String delFlag) {
        this.status = status;
        this.delFlag = delFlag;
    }

    public WlCompany(String companyName) {
        this.companyName = companyName;
    }

    public WlCompany() {
    }

    /** 客户ID */
    private Long companyId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String companyName;

    /** 客户编码 */
    @Excel(name = "客户编码")
    private String companyKey;

    /** ICON图 */
    @Excel(name = "ICON图")
    private String iconAddr;

    /** 客户代表 */
    @Excel(name = "客户代表")
    private String linkman;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String address;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String mobile;

    /** 公司邮箱 */
    @Excel(name = "公司邮箱")
    private String email;

    /** 客户介绍 */
    @Excel(name = "客户介绍")
    private String intro;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyKey(String companyKey) 
    {
        this.companyKey = companyKey;
    }

    public String getCompanyKey() 
    {
        return companyKey;
    }
    public void setIconAddr(String iconAddr) 
    {
        this.iconAddr = iconAddr;
    }

    public String getIconAddr() 
    {
        return iconAddr;
    }
    public void setLinkman(String linkman) 
    {
        this.linkman = linkman;
    }

    public String getLinkman() 
    {
        return linkman;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setIntro(String intro) 
    {
        this.intro = intro;
    }

    public String getIntro() 
    {
        return intro;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("companyKey", getCompanyKey())
            .append("iconAddr", getIconAddr())
            .append("linkman", getLinkman())
            .append("address", getAddress())
            .append("mobile", getMobile())
            .append("email", getEmail())
            .append("intro", getIntro())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
